﻿using PhotoAlbum;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Windows.Forms;

namespace PhotoAlbumCS
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(String[] args)
        {
            if (args != null && args.Length > 0)
                location = args[0];
            else
                location = ConfigurationManager.AppSettings["location"];
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new CustomItemFrm());
        }


        public static String location = String.Empty;
    }
}
